package com.liezh.visitor.property;

/**
 * @author liezh
 * @date 2021-10-28
 */
public abstract class AbstractBeanDefinition<T> implements BeanDefinition<T> {
    protected String key = "";
    protected T value = null;
    protected String[] dependsOns = null;
    protected String parentName = null;

    @Override
    public String getParentName() {
        return this.parentName;
    }

    @Override
    public void setDependsOn(String... var1) {
        this.dependsOns = var1;
    }

    @Override
    public String[] getDependsOn() {
        return this.dependsOns;
    }

    @Override
    public String getPropertyKey() {
        return this.key;
    }
    @Override
    public void setPropertyKey(String key) {
        this.key = key;
    }
}
